package com.bw.bean;

import lombok.Data;

/**
 * @BelongsProject: yuekao
 * @BelongsPackage: com.bw.bean
 * @Author: cuizexuan
 * @CreateTime: 2024-10-11  09:26
 * @Description: TODO
 * @Version: 1.0
 */
@Data
public class Vo3 {
    //s.name,
    //    avg(oi.rating) `avg`,
    //    count(oi.rating) `count`,
    //    count(if(oi.rating>=5,1,0)) `num`,
    //    sum(if(oi.rating>=5,1,0))/count(oi.rating) *100 `good`

    private String name;
    private Double avg;
    private Integer count;
    private Integer num;
    private Double good;
}
